/* eslint-disable */

import React from 'react';
import { Svg, Path } from 'react-native-svg';
import { getIconColor } from './helper';

export const Iconhongbao = ({ size, color, ...rest }) => {
  return (
    <Svg viewBox="0 0 1024 1024" width={size} height={size} {...rest}>
      <Path
        d="M512 1024C229.239467 1024 0 794.760533 0 512S229.239467 0 512 0 1024 229.239467 1024 512 794.760533 1024 512 1024z m186.003911-204.8c41.415111 0 74.9568-31.789511 74.9568-70.997333V356.443022c-58.436267 51.473067-145.908622 84.195556-243.712 84.195556-104.994133 0-198.132622-37.728711-256.182044-95.891911V748.202667C273.066667 787.410489 306.631111 819.2 348.046222 819.2h349.957689zM274.614044 284.2624c35.680711 63.351467 136.078222 109.044622 254.634667 109.044622 108.1344 0 201.090844-38.047289 243.712-92.751644v-1.911467c0-39.185067-33.564444-70.974578-74.9568-70.974578H348.046222c-36.204089 0-66.400711 24.302933-73.432178 56.593067z"
        fill={getIconColor(color, 0, '#333333')}
      />
      <Path
        d="M523.013689 511.613156c-55.204978 0-99.965156 42.370844-99.965156 94.640355 0 52.269511 44.760178 94.663111 99.965156 94.663111 55.227733 0 99.987911-42.3936 99.987911-94.663111s-44.760178-94.663111-99.987911-94.663111z"
        fill={getIconColor(color, 1, '#333333')}
      />
    </Svg>
  );
};

Iconhongbao.defaultProps = {
  size: 18,
};

export default Iconhongbao;
